cmake_minimum_required(VERSION 3.21)
project(binanceC__server)

set(CMAKE_CXX_STANDARD 14)
set(EXECUTABLE_OUTPUT_PATH ${CMAKE_SOURCE_DIR})

include_directories(${PROJECT_SOURCE_DIR}/json.hpp)
include_directories(${PROJECT_SOURCE_DIR}/include/strategy)
include_directories(${PROJECT_SOURCE_DIR}/include/threadpool)
include_directories(${PROJECT_SOURCE_DIR}/include/log)

aux_source_directory(src/strategy STEATEGY)
aux_source_directory(src/threadpool THREADPOOL)
aux_source_directory(src/log LOG)

add_executable(binanceC__server main.cpp ${STEATEGY} ${THREADPOOL} ${LOG})

target_link_libraries(binanceC__server pthread)
